package com.xmall.bean.bo;

import lombok.Data;

@Data
public class StorageListBo {
    private Integer page;
    private Integer limit;
    private String sort;
    private String order;
    private String name;
    private String key;

    public boolean isValid() {
        if (page <= 0 || limit <= 0) {
            return false;
        }
        return true;
    }
}
